66a7f2ac4c305806813ace5697ef20c674737fbb,src/main/java/org/orekit/propagation/numerical/PartialDerivativesEquations.java,PartialDerivativesEquations,computeDerivatives,#SpacecraftState#number[]#,372

Before Change



        // mass corresponds either to a constant or to one free parameter
        final DerivativeStructure dsM = (dAccdM == null) ?
                                        new DerivativeStructure(nbVars, 1,    s.getMass()) :
                                        new DerivativeStructure(nbVars, 1, 6, s.getMass());

        // we should compute attitude partial derivatives with respect to position/velocity

After Change



        // mass corresponds either to a constant or to one free parameter
        final DerivativeStructure dsM = (dAccdM == null) ?
                                        factory.constant(s.getMass()) :
                                        factory.variable(6, s.getMass());

        // we should compute attitude partial derivatives with respect to position/velocity